/* Orbas:
 *     A open source CORBA Specification implementation from Huihoo.
 *
 * Copyright 2002-2003 Huihoo.org, Inc. All Right Reserved.
 *
 * This software is licensed under LGPL license.
 * See terms of license at gnu.org.
 *
 * For more information, visit:
 *
 * http://www.huihoo.org/orbas
 */


package org.huihoo.orbas.poa.policy;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2003</p>
 * <p>Company: <a href="http://www.huihoo.org/orbas">huihoo.org/orbas</a></p>
 * @author <a href="mailto:cocia@163.com">Cocia Lin</a>
 * @version 1.0
 */

import com.cognition.util.marshal.JavaPrimitiveInputStream;
import com.cognition.util.marshal.JavaPrimitiveOutputStream;
import java.io.IOException;
import org.omg.CORBA.*;
import org.omg.PortableServer.*;

public class IdUniquenessPolicyImpl
    extends org.omg.CORBA.LocalObject
    implements IdUniquenessPolicy {
    //~
    private IdUniquenessPolicyValue value;

    public IdUniquenessPolicyImpl(IdUniquenessPolicyValue value) {
        this.value = value;
    }

    public IdUniquenessPolicyValue value() {
        return value;
    }

    public int policy_type() {
        return org.omg.PortableServer.ID_UNIQUENESS_POLICY_ID.value;
    }

    public Policy copy() {
        return new IdUniquenessPolicyImpl(value());
    }

    public void destroy() {

    }


}